#ifndef _SCHMITTTRIGGER_H_
#define _SCHMITTTRIGGER_H_

#include <stdint.h>

#define HeatControl_SchmittTrigger_initialize()

#define HEATCONTROL_SCHMITTTRIGGER_INSTANCE_DECLS \
			static int HeatControl_SchmittTrigger_outputValue = 0;

#define HeatControl_SchmittTrigger_Input_consumeInputValue(value) \
				do { \
					int32_t x = (value); \
					if (x < -76) { \
						HeatControl_SchmittTrigger_outputValue = 0; \
					} else if (x > -51) { \
						HeatControl_SchmittTrigger_outputValue = 1; \
					} \
				} while (0)

#define HeatControl_SchmittTrigger_computeOutputValues()

#define HeatControl_SchmittTrigger_Output_getOutputValue() \
			HeatControl_SchmittTrigger_outputValue

#define HeatControl_SchmittTrigger_update()

#endif /* _SCHMITTTRIGGER_H_ */
